package com.lng.muke.utils

import android.app.Activity
import android.app.Application
import android.os.Bundle
import com.spinytech.macore.MaApplication

class MyApplication:MaApplication(), Application.ActivityLifecycleCallbacks {
    override fun onActivityPaused(activity: Activity?) {
    }

    override fun onActivityResumed(activity: Activity?) {
    }

    override fun onActivityStarted(activity: Activity?) {
    }

    override fun onActivityDestroyed(activity: Activity?) {
    }

    override fun onActivitySaveInstanceState(activity: Activity?, outState: Bundle?) {
    }

    override fun onActivityStopped(activity: Activity?) {
    }

    override fun onActivityCreated(activity: Activity?, savedInstanceState: Bundle?) {
    }


    override fun onCreate() {
        super.onCreate()
        println("------- App Module Application OnCreate")

        registerActivityLifecycleCallbacks(this)
    }

    override fun initializeLogic() {
//        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun initializeAllProcessRouter() {
//        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun needMultipleProcess(): Boolean {
        return false
//        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }
}